import { Moment } from 'moment';

export interface IWarning {
    id?: number;
    adminOpenId?: string;
    guestOpenId?: string;
    description?: string;
    time?: Moment;
}

export class Warning implements IWarning {
    constructor(
        public id?: number,
        public adminOpenId?: string,
        public guestOpenId?: string,
        public description?: string,
        public time?: Moment
    ) {}
}
